package com.wind.cloud.admin;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * admin server
 *
 * @author wind
 * @date 2018-10-15
 */
@SpringBootApplication
@EnableAdminServer
@EnableDiscoveryClient
@EnableHystrixDashboard
@EnableTurbine
public class WindAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(WindAdminApplication.class, args);
    }

}

